home *** CD-ROM | disk | FTP | other *** search
/ Yellows - Privacy (Deluxe) / Akira Gomi Photographs - Yellows: Privacy (Deluxe) - Disc 1.iso / mono / k.dxr / 00052.ls < prev    next >
Encoding:
Text File  |  1996-07-10  |  890 b   |  31 lines

  1. global foremovie
  2.  
  3. on startpictset
  4.   global startpictnum
  5.   if (startpictnum = 2) or (startpictnum = 25) then
  6.     set the castNum of sprite 3 to the number of member "002/025"
  7.   else
  8.     if (startpictnum = 3) or (startpictnum = 16) then
  9.       set the castNum of sprite 3 to the number of member "003/016"
  10.     else
  11.       if (startpictnum = 5) or (startpictnum = 12) then
  12.         set the castNum of sprite 3 to the number of member "005/012"
  13.       else
  14.         if (startpictnum = 19) or (startpictnum = 26) then
  15.           set the castNum of sprite 3 to the number of member "019/026"
  16.         else
  17.           set a to digitchange(startpictnum)
  18.           set the castNum of sprite 3 to the number of member a
  19.         end if
  20.       end if
  21.     end if
  22.   end if
  23. end
  24.  
  25. on digitchange num
  26.   set a to num / 100
  27.   set b to (num - (100 * a)) / 10
  28.   set c to num - (100 * a) - (10 * b)
  29.   return a & b & c
  30. end
  31.